package patterns.actions.observer.num;

import java.util.Observable;
import java.util.Observer;


public class NumObserver implements Observer {

	@Override
	public void update(Observable o, Object obj) {
		NumObservable myObservable = (NumObservable) o;
		System.out.println("Data has changed to " + myObservable.getData());
	}

}
